package DesignPattern.Singleton;

public class LazyMan {
    private static LazyMan instance;
    // 构造函数私有
    private LazyMan(){}

    public static LazyMan getInstance(){
        if(instance == null){
            instance = new LazyMan();
        }
        return instance;
    }
}
